﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace csctp
{
	/// <summary>
	/// 帐户权益
	/// </summary>
	public class TradingAccount
	{
		/// <summary>
		/// 上次结算准备金
		/// </summary>
		public double PreBalance { get; set; }

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public double PositionProfit { get; set; }

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public double CloseProfit { get; set; }

		/// <summary>
		/// 手续费
		/// </summary>
		public double Commission { get; set; }

		/// <summary>
		/// 当前保证金总额
		/// </summary>
		public double CurrMargin { get; set; }

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public double FrozenCash { get; set; }

		/// <summary>
		/// 可用资金
		/// </summary>
		public double Available { get; set; }

		/// <summary>
		/// 动态权益
		/// </summary>
		public double Fund { get; set; }

		/// <summary>
		/// 风险度
		/// </summary>
		public double Risk { get; set; }
	}
}
